<?php
/**
 * @name celebrityrelationuser.php
 * @msg 明星般配指数用户投票记录表实体
 * @date Created on 2014-12-24
 */
namespace haibao\cms\model\data;

Class CeleBrityRelationUser extends Base{
	
	/**
	 * 用户选择的类型 1 banpei 2 no_banpei
	 */
	const CHOICE_BANPEI = 1;
	const CHOICE_NO_BANPEI = 2;
	
	/**
	 * 明星关系表id
	 */
	public $RelationId;
	/**
	 * 用户id
	 */
	public $UserId;
	/**
	 * 用户选择的类型
	 */
	public $Choice;
	/**
	 * 添加时间
	 */
	public $AddTime;	

	
	public function __construct(){
		parent::__construct();
		
		$this->intField('RelationId', 'RelationId');
		$this->intField('UserId', 'UserId');
		$this->intField('Choice', 'Choice');
		$this->dateField('AddTime', 'AddTime');	
		
		$this->setTableName('CeleBrityRelationUser');
	}
}